<template>
  <div class="vir-from-page">
    <vir-editor class="vir-editor-0" v-model="form.content"></vir-editor>
  </div>
</template>
<script lang="ts">
import { Component, Vue } from "vue-property-decorator";
import { VirEditor } from '@/components/editor';

@Component({ components: { VirEditor } })
export default class TestPage extends Vue {
  private form: any = {
    content: 'sdfsdf'
  };

  private onSubmit() {
    console.log('submit!', this.form);
  }
}
</script>
<style lang="scss" scoped>
.vir-from-page {
  .vir-editor-0 {
    height: 500px;
  }
}
</style>
